﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TimeController : MonoBehaviour {

    public int time;
    public GameObject[] info;

	// Use this for initialization
	void Start () {
        StartCoroutine(TimeDelay());
	}

    IEnumerator TimeDelay()
    {
        yield return new WaitForSeconds(time);
        for (int i = 0; i < info.Length; i++)
        {
            info[i].SetActive(true);
        }
    }
}
